package org.tlipoca.smsteamachievement.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.genntii.smdomain.entity.SteamAchievement;

import java.util.ArrayList;

@Mapper
public interface SteamAchievementMapper extends BaseMapper<SteamAchievement> {
    void insertAchievementBatch(ArrayList<SteamAchievement> achievements);

    @Select("select * from Steam_Achievement where appid = appid;")
    ArrayList<SteamAchievement> selectAchievementByAppid(Integer appid);
}
